<template>
  <div class="item-box">
    <block-header :icon="data.icon" :title="data.title" :number="data.num"></block-header>
    <lab-list :data="data.list" v-if="data.list.length > 0"></lab-list>
    <span v-else class="tip-null">暂无数据</span>
  </div>
</template>

<script>
  import BlockHeader from './block-header'
  import LabList from './lab-list'

  export default {
    name: 'label-list',
    components: {
      BlockHeader,
      LabList
    },
    mixins: [],
    computed: {},
    props: {
      data: {
        type: Object,
        default() {
          return {}
        }
      }
    },
    data() {
      return {}
    },
    methods: {},
    watch: {},
    mounted() {
    },
    created() {
    }
  }
</script>

<style scoped lang="scss">
</style>
